package com.kuang.mapper;

import com.kuang.pojo.AstControllerPoweron;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository  // Dao层的注解
public interface AstControllerPoweronMapper {

    int insert(AstControllerPoweron astControllerPoweron);

    List<AstControllerPoweron> selectAll();

    List<AstControllerPoweron> selectAllByExample(AstControllerPoweron astControllerPoweron);

    int update(AstControllerPoweron astControllerPoweron);

    List<AstControllerPoweron> selectAllByFail();
}
